﻿<%@ Page Title="" Language="C#" MasterPageFile="~/EBAYVN.Master" AutoEventWireup="true"
    CodeBehind="DangSanPham.aspx.cs" Inherits="EBAYVN.CUSTOMERS.Pages.DangSanPham" %>

<%@ Register Assembly="EBAYVN.Util" Namespace="EBAYVN.Util" TagPrefix="EBAYVN" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="crmcontainer">
        <div class="header">
            Thông tin sản phẩm
        </div>
        <asp:UpdatePanel ID="upInfor" runat="server" UpdateMode="Conditional">
            <ContentTemplate>
                <table class="crmtable ">
                    <tbody>
                        <tr>
                            <td class="crmcell right width-100">
                                <strong>Tên sản phẩm</strong>
                            </td>
                            <td class="crmcell">
                                <div class="left">
                                    <asp:TextBox ID="txtTenSanPham" runat="server" TabIndex="1" />
                                </div>
                                <div class="requie">
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="crmcell right width-100">
                                Giá bán
                            </td>
                            <td class="crmcell width-250">
                                <div class="left">
                                    <asp:TextBox ID="txtGiaKhoiDiemSanPham" runat="server" TabIndex="2" />
                                </div>
                                <div class="requie">
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="crmcell right width-100">
                                Phí tăng /1 lần
                            </td>
                            <td class="crmcell width-250">
                                <div class="left">
                                    <asp:TextBox ID="txtPhiMoiLanDauGia" runat="server" TabIndex="3" Enabled="false" />
                                </div>
                                <div class="requie">
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="crmcell right width-100">
                                Phí website
                            </td>
                            <td class="crmcell width-250">
                                <div class="left">
                                    <asp:TextBox ID="txtPhiWebSite" runat="server" TabIndex="4" Enabled="false" />
                                </div>
                                <div class="requie">
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="crmcell right width-100">
                                <strong>Tự giao hàng</strong>
                            </td>
                            <td class="crmcell width-250">
                                <div class="left">
                                    <asp:CheckBox runat="server" ID="checkTuGiaoHang" Text="Có / Không" />
                                </div>
                                <div class="requie">
                                </div>
                                <div class="left">
                                    <strong>Phí giao hàng</strong>
                                </div>
                                <div class="left">
                                    <asp:TextBox runat="server" ID="txtPhiGiaoHang" Width="100px" Enabled="false" />
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="crmcell right width-100">
                                <strong>Thời gian đấu giá</strong>
                            </td>
                            <td class="crmcell width-250">
                                <div class="left">
                                    <asp:TextBox ID="txtThoiGianDauGia" runat="server" Enabled="false" />
                                </div>
                                <div class="requie">
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="crmcell right width-100">
                                <strong>Đưa lên đầu</strong>
                            </td>
                            <td class="crmcell width-250">
                                <div class="left">
                                    <asp:CheckBox runat="server" ID="checkUptotop" Text="Có / Không" Checked="false" />
                                </div>
                                <div class="requie">
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="crmcell right width-100">
                                <strong>Nhà sản xuất</strong>
                            </td>
                            <td class="crmcell width-250">
                                <div class="left">
                                    <asp:DropDownList ID="ddlNhaSanXuat" runat="server" />
                                </div>
                                <div class="requie">
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="crmcell right width-100">
                                <strong>Loại sản phẩm</strong>
                            </td>
                            <td class="crmcell width-250">
                                <div class="left">
                                    <asp:DropDownList ID="ddlLoaiSanPham" OnSelectedIndexChanged="ddlLoaiSanPham_Change"
                                        runat="server" AutoPostBack="true" />
                                </div>
                                <div class="requie">
                                </div>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </ContentTemplate>
        </asp:UpdatePanel>
        <div class="header">
            THÔNG TIN CHI TIẾT SẢN PHẨM
        </div>
        <asp:UpdatePanel runat="server" UpdateMode="Conditional" ID="upChiTietSanPham">
            <ContentTemplate>
                <div id="tabs">
                    <ul>
                        <li><a href="#tabs-1">TÍNH NĂNG</a></li>
                        <li><a href="#tabs-2">THÔNG SỐ KĨ THUẬT</a></li>
                        <li><a href="#tabs-3">HÌNH ẢNH</a></li>
                        <li><a href="#tabs-4">THÔNG TIN KHÁC</a></li>
                    </ul>
                    <div id="tabs-1">
                        <asp:UpdatePanel runat="server" UpdateMode="Conditional" ID="upRepeaterTinhNang">
                            <Triggers>
                                <asp:PostBackTrigger ControlID="ddlLoaiSanPham" />
                            </Triggers>
                            <ContentTemplate>
                                <asp:Repeater ID="rpTinhNang" runat="server">
                                    <HeaderTemplate>
                                        <ul>
                                    </HeaderTemplate>
                                    <ItemTemplate><li>
                                        <asp:Label runat="server" Text='<%# Eval("TENTINHNANG") %>' />
                                        <asp:DropDownList runat="server" ID="ddlGiaTri" /></li>
                                    </ItemTemplate>
                                    <FooterTemplate>
                                        </ul>
                                    </FooterTemplate>
                                </asp:Repeater>
                            </ContentTemplate>
                        </asp:UpdatePanel>
                    </div>
                    <div id="tabs-2">
                        <p>
                            fdfad
                        </p>
                    </div>
                    <div id="tabs-3">
                        <p>
                            fadsfasd
                        </p>
                    </div>
                    <div id="tabs-4">
                        <p>
                            dfasd
                        </p>
                    </div>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
    <div id="sections" class="box">
    </div>
</asp:Content>
